package com.sftz.modules.minapp.hotSeriesCoures.module;

import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Filters;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.Param;

import com.sftz.modules.minapp.hotSeriesCoures.service.HotSerirsecourselViewService;

@IocBean
@At("/wx/hotSerirsecourse")
@Filters
public class HotSerirsecourseModule {

	private static final Log log = Logs.get();

	@Inject
	private HotSerirsecourselViewService hotSerirsecourselViewService;

	/**
	 * 查询人气系列课程
	 */
	@At
	@Ok("json")
	public Object hotSerCourseList(@Param("pageNumber") final Integer pageNumber,
			@Param("pageSize") final Integer pageSize) {
		return hotSerirsecourselViewService.hotSerCourseList(pageNumber, pageSize);
	}

}